package orchestration.android.execution.commands;

import orchestration.android.RunExecutionActivity;
/**
 * An {@link AndroidOrchestrationCommand} that restarts the entire execution 
 * process, starting from the next Task (the first task waiting to be executed
 * @author <a href="mailto:car.ferrarini@gmail.com">Carlo Ferrarini</a>
 *
 */
public class ResumeExecutionCommand implements AndroidOrchestrationCommand {

	@Override
	public void execute(RunExecutionActivity rea) {
		rea.resumeExecution(false);

	}

	@Override
	public int getId() {
		return CommandFactory.RESUME_EXECUTION;
	}

}
